#ifndef INTEGER_ITEM_H_
#define INTEGER_ITEM_H_

#include <string>
#include <vector>
#include <ostream>

using namespace std;

class Integer_item: public Item
{
public:
  Integer_item(string name);
  ~Integer_item();

  int get_integer(int n);
  void add_integer(int value);

  void save(ostream &os, string indent = "");

  void clear(void);

private:
  vector<int> _values;
};

#endif /* INTEGER_ITEM_H_ */
